<template>
  <div>
    <div id="app">{{ info }}</div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      info: null,
    };
  },
  mounted() {
    this.$axios
      .get("https://localhost:5001/api/values/prose")
      .then((response) => {
        // console.log(response);
        this.info = response.data.split("\r\n");
        console.log(this.info[0])
      })
      .catch(function (error) {
        // 请求失败处理
        console.log(error);
      });
  },
};
</script>

<style>
</style>